﻿using ConsoleApp2.Enum;
using ConsoleApp2.Models;

namespace ConsoleApp2.Service;

public interface PermissionService
{
    public List<Permission> GetAllPermissions();

    public bool UserHavePermission(ConsoleApp2.Models.User user, PermissionName queryUser);


}